projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e445d
)
[XEND] Fix pygrub when run server-side on a domain with blktap disks.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 28 Oct 2006 16:45:43 +0000
(17:45 +0100)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 28 Oct 2006 16:45:43 +0000
(17:45 +0100)
Equivalent fix to xen-unstable 11706:
bf0deb09facd847db87ab59ed377db6eb0f5a3ad
.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 46d4c78e22d78fa371cfe60cca7f703ac4423038..26dc09b737f5d6a5a08e08dc24d4d5f9cc9793d4 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-1440,7
+1440,7
@@
class XendDomainInfo:
blcfg = None
# FIXME: this assumes that we want to use the first disk device
for (n, c) in self.info.all_devices_sxpr():
- if not n or not c or n
!= "vbd"
:
+ if not n or not c or n
ot(n in ["vbd", "tap"])
:
continue
disk = sxp.child_value(c, "uname")
if disk is None: